package com.asj.vivo.lock.enums;

public enum ResultCodeEnums {

    result_success(200,"success"),
    result_error(500,"error"),
    request_success(200,"request_success"),
    request_error(505,"request_error"),
    result(0,"result"),
    code_name(0,"code"),
    ;

    private final int code;
    private final String message;

    public int getCode(){
        return code;
    }
    public String getMessage(){
        return message;
    }

    ResultCodeEnums(int code,String message){
        this.message = message;
        this.code = code;
    }
}
